package com.cyw.socket.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: Chenyw
 * @Date: 2022/11/09/18:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user_notify")
@ApiModel("通知实体类")
public class Notify implements Serializable {
    @ApiModelProperty("通知id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("通知内容")
    private String notifyContent;

    @ApiModelProperty("通知时间")
    private Date notifyTime;

    @ApiModelProperty("是否已读(1 , 0)")
    private String isRead;
}
